package com.egreen.common.pojo.DTO.user.userServiceDTO;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class SignUpDTO implements Serializable {
    //用户名
    @NotBlank(message = "用户名不能为空")
    private String userName;

    //手机号
    @NotBlank(message = "手机号不能为空")
    private String phone;

    //密码
    @NotBlank(message = "密码不能为空")
    private String password;

    //验证码
    @NotBlank(message = "验证码不能为空")
    private String validCode;

    //邀请码,可以为空
    private String invitationCode;

}
